﻿<UserControl x:Class="PhotoKiosk.View.SelectSourceView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:resx="clr-namespace:PhotoKiosk.Properties"
             mc:Ignorable="d"
             d:DesignHeight="768" 
             d:DesignWidth="1366"
             Height="{Binding SystemParameters.PrimaryScreenHeight}" 
             Width="{Binding SystemParameters.PrimaryScreenWidth}">
    <Grid>
        <Label Content="{x:Static resx:Resources.Connect_your_device_to_the_computer}" FontSize="35" FontWeight="Bold" Foreground="#FFB7BBC3" HorizontalContentAlignment="Center" Margin="0,12,0,0" VerticalAlignment="Top" Background="#55000000"/>
        <Label Content="{x:Static resx:Resources.And_press_the_image_of_your_device}" FontSize="35" FontWeight="Bold" Foreground="#FFB5B5BF" HorizontalContentAlignment="Center" Margin="0,80,0,0" VerticalAlignment="Top" Background="#55000000"/>
        <Grid  Height="300" Background="#55000000" Margin="0,50,0,0">
            <Button  Height="250" Width="250" Command="{Binding DokCommand}" HorizontalContentAlignment="Center" BorderThickness="1" BorderBrush="White" Background="#22FFFFFF" Margin="0,0,700,0">
                <StackPanel>
                    <Image Source="Images/usb.png" Width="186"/>
                    <TextBlock Text="{x:Static resx:Resources.MemoryCard}" VerticalAlignment="Bottom" Foreground="Black" HorizontalAlignment="Center" FontSize="35" FontFamily="Narkisim" />
                </StackPanel>
            </Button>
            <Button Height="250" Width="250" Command="{Binding CdRomCommand}" HorizontalAlignment="Center" HorizontalContentAlignment="Center"  Background="#22FFFFFF">
                <StackPanel Orientation="Vertical">
                    <Image Source="Images/cd-icon.png" Width="186"/>
                    <TextBlock Text="{x:Static resx:Resources.CdRom}" VerticalAlignment="Bottom" Foreground="Black" HorizontalAlignment="Center" FontSize="35" FontFamily="Narkisim" />
                </StackPanel>
            </Button>
            <Button Height="250" Width="250" Command="{Binding SampleFolderCommand}" HorizontalContentAlignment="Center" Background="#22FFFFFF" Margin="0,0,-700,0">
                <StackPanel>
                    <Image Source="Images/SampleFolder.png" Width="186"/>
                    <TextBlock Text="{x:Static resx:Resources.SampleImages}" VerticalAlignment="Bottom" Foreground="Black" HorizontalAlignment="Center" FontSize="35" FontFamily="Narkisim" />
                </StackPanel>
            </Button>
        </Grid>
        <Label Content="{Binding Error}" HorizontalAlignment="Center" Margin="0,160,0,0" VerticalAlignment="Top" Foreground="Red" FontSize="20"/>
    </Grid>
</UserControl>
